﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TeamDev.JQuery.Internals
{
  public class jqEvents
  {

    // event.currentTarget
    public jqExpression currentTarget
    {
      get
      {
        return new jqExpression("event.currentTarget");
      }
    }

    //   event.data
    public jqExpression data
    {
      get
      {
        return new jqExpression("event.data");
      }
    }

    //  event.isDefaultPrevented()
    public jqExpression isDefaultPrevented
    {
      get
      {
        return new jqExpression("event.isDefaultPrevented()");
      }
    }

    //  event.isImmediatePropagationStopped()
    public jqExpression isImmediatePropagationStopped
    {
      get
      {
        return new jqExpression("event.isImmediatePropagationStopped()");
      }
    }

    //  event.isPropagationStopped()
    public jqExpression isPropagationStopped
    {
      get
      {
        return new jqExpression("event.isPropagationStopped()");
      }
    }

    // event.namespace
    public jqExpression NameSpace
    {
      get
      {
        return new jqExpression("event.namespace");
      }
    }

    // event.pageX
    public jqExpression pageX
    {
      get
      {
        return new jqExpression("event.pageX");
      }
    }

    // event.pageY
    public jqExpression pageY
    {
      get
      {
        return new jqExpression("event.pageY");
      }
    }

    //  event.preventDefault()
    public jqExpression preventDefault
    {
      get
      {
        return new jqExpression("event.preventDefault()");
      }
    }

    //  event.relatedTarget
    public jqExpression relatedTarget
    {
      get
      {
        return new jqExpression("event.relatedTarget");
      }
    }

    // event.result
    public jqExpression result
    {
      get
      {
        return new jqExpression("event.result");
      }
    }

    // event.stopImmediatePropagation()
    public jqExpression stopImmediatePropagation
    {
      get
      {
        return new jqExpression("event.stopImmediatePropagation()");
      }
    }

    //  event.stopPropagation()
    public jqExpression stopPropagation
    {
      get
      {
        return new jqExpression("event.stopPropagation()");
      }
    }

    // event.target
    public jqExpression target
    {
      get
      {
        return new jqExpression("event.target");
      }
    }

    // event.timeStamp
    public jqExpression timeStamp
    {
      get
      {
        return new jqExpression("event.timeStamp");
      }
    }

    //  event.type
    public jqExpression type
    {
      get
      {
        return new jqExpression("event.type");
      }
    }

    //  event.which
    public jqExpression which
    {
      get
      {
        return new jqExpression("event.which");
      }
    }
  }
}
